package injector

import (
	"alarm_service/internal/batch_processor"
	"alarm_service/internal/router"
	"github.com/gin-gonic/gin"
	"github.com/google/wire"
)

// InjectorSet 注入Injector
var InjectorSet = wire.NewSet(wire.Struct(new(Injector), "*"))

// Injector 注入器(用于初始化完成之后的引用)
type Injector struct {
	Engine *gin.Engine
	//Router    router.IRouter
	TcpRouter      *router.TcpRouter
	BatchProcessor *batch_processor.BatchProcessor
}
